package com.glela.order.service.impl.order.amqp;

import java.util.Collection;
import java.util.LinkedList;

import com.glela.order.model.response.order.RespOrderGiftsVo;

/**
 * 消息返回结果 订单生成结果
 * @author zls
 *
 */
public class AmqpOrderResultPo {
	private boolean				paid;										//是否已支付
	private boolean				payable;									//是否可支付
	private String				msg;										//描述
	private Collection<Object>	invalidGoods	= new LinkedList<>();		//失效商品
	private Collection<Object>	invalidGifts	= new LinkedList<>();		//失效赠品
	private Collection<Object>	avlGoods		= new LinkedList<>();		//有效商品
	private Object				avlGifts		= new RespOrderGiftsVo();	//有效赠品

	public boolean isPaid() {
		return paid;
	}

	public boolean isPayable() {
		return payable;
	}

	public String getMsg() {
		return msg;
	}

	public void setPaid(boolean paid) {
		this.paid = paid;
	}

	public void setPayable(boolean payable) {
		this.payable = payable;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public Collection<Object> getInvalidGoods() {
		return invalidGoods;
	}

	public Collection<Object> getInvalidGifts() {
		return invalidGifts;
	}

	public Collection<Object> getAvlGoods() {
		return avlGoods;
	}

	public Object getAvlGifts() {
		return avlGifts;
	}

	public void setAvlGoods(Collection<Object> avlGoods) {
		this.avlGoods = avlGoods;
	}

	public void setAvlGifts(Object avlGifts) {
		this.avlGifts = avlGifts;
	}

}